package com.second.order.service.Impl;

import com.second.common.pojo.Member;
import com.second.order.dao.MemberDao;
import com.second.order.service.MemberService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @program: second
 * @description:
 * @author: 胡萌
 * @create: 2023-05-27 16:52
 **/
@Service
public class MemberServiceImpl implements MemberService {

    @Resource
    private MemberDao memberDao;

    @Override
    public Member findAll(String memberId) {

        Member member = memberDao.selectById(memberId);

        return member;
    }
}
